package pl.mchaniewski.ryneczek.dao;

import java.util.Date;
import java.util.List;

import pl.mchaniewski.ryneczek.pojo.Quotation;

public interface QuotationDao extends GenericDao<Quotation, Integer> {

    @Override
    public void remove(Quotation quotation);

    public List<Quotation> findLatest(boolean wasInLastUpdate);

    public List<Quotation> findLatest(Integer companyid);

    public List<Quotation> findLatest(Integer companyid, boolean wasInLastUpdate);

    public List<Quotation> findLatestByDate(Integer companyid, Date date);

    public List<Quotation> findByDateAndCompanyId(Integer companyid, Date date);

    public List<Quotation> findByDateTimeAndCompanyId(Integer companyid,
            Date date);

}
